﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model.Permission
{
    /// <summary>
    /// 分组
    /// </summary>
    public class GroupEntity
    {
        private int _groupid;
        private int _grouptypeid;
        private string _name;
        private int _superiorid = 0;
        private int _sort;
        private string _description;
        private int _state = 1;
        /// <summary>
        /// 分组ID
        /// </summary>
        public int GroupID
        {
            set { _groupid = value; }
            get { return _groupid; }
        }
        /// <summary>
        /// 分组类型(GroupType Id列)
        /// </summary>
        public int GroupTypeID
        {
            set { _grouptypeid = value; }
            get { return _grouptypeid; }
        }
        /// <summary>
        /// 组名称
        /// </summary>
        public string Name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 上级ID
        /// </summary>
        public int SuperiorID
        {
            set { _superiorid = value; }
            get { return _superiorid; }
        }
        /// <summary>
        /// 排序
        /// </summary>
        public int Sort
        {
            set { _sort = value; }
            get { return _sort; }
        }
        /// <summary>
        /// 说明
        /// </summary>
        public string Description
        {
            set { _description = value; }
            get { return _description; }
        }
        /// <summary>
        /// 组状态 1为正常 2禁用但显示 3禁用且不显示
        /// </summary>
        public int State
        {
            set { _state = value; }
            get { return _state; }
        }
    }
}
